body{
    overflow: hidden;
}

#map{
    background-image: url("../img/background-992858_1280.png");
}

svg text{
    font-family: "Papyrus",fantasy;
    font-size: 2vh;
    font-weight: bold;
    opacity: 0.8;
}

svg path{
    cursor: pointer;
}

@keyframes changeColor{
    0% {
        background-color:#F7CFEF;
      }
      50%{
        background-color:#75CBE0;
    }
      100% {
        background-color: #B4DC8C;
 }
}

/* 国家信息样式*/
.countryinfo{
    display: none;
    position: fixed;
    top:10%;
    right:1%;
    width: 600px;
    height: fit-content;
    max-height: 80%;
    padding: 30px;
    overflow: scroll;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    overflow: scroll;
}
/* 各国家信息文本 */

.countryinfo::-webkit-scrollbar{
    /* 隐藏滚动条 */
    display: none; 
}
.countryinfo p{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,
    Microsoft Yahei
    sans-serif;
    font-size: 25px;
    white-space: pre-line;
    /* 合并空白符序列，保留换行符 */
    padding: 10px;
    color: #444444;
}

.countryinfo h1{
    font-size: 30px;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,
    Microsoft Yahei
    sans-serif;
    font-weight: bolder;
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px solid #999999;
}

/* 时间轴样式 */
.timeline{
    position: fixed;
    bottom: 0;
    /*height: fit-content;*/
    width: 100vw;
}

.timeline ul{
    display: grid;
    margin: 0;
    padding:0; /*list-style:none;*/
    grid-template-columns: repeat(8, 1fr);
    background-color: #FFD4C7;
    animation:changeColor 10s ease-in-out infinite;
}
.timeline li{
    font-size: 3em;
    list-style-type:none ;
    text-align: center;
    border-right: 2px solid #197195;
    cursor: pointer;
}
.timeline li:first-child{
    border-left: 20px solid #2e6da4;
}
.timeline li:last-child{
    border-right: 20px solid #2e6da4;
   /*  //TODO：最右侧效果未应用 */
}
.timeline li:hover{
    font-weight: bold;
    color: #2e6da4;
}

.timeline ul:hover{
    color: #999999;
}


